package priv.mill.entry;

import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;

public class Role extends BasePojo{



	private Integer roleId;
		
	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	private String roleName;
		
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	private String roleDesc;
		
	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	private java.sql.Timestamp createTime;
		
	public java.sql.Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	private java.sql.Timestamp updateTime;
		
	public java.sql.Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.sql.Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	
	
@JSONField(serialize=false)
private List<RolePower> rolePower;
	
	public List<RolePower> getRolePower() {
		return rolePower;
	}

	public void setRolePower(List<RolePower> rolePower) {
		this.rolePower = rolePower;
	}	
@JSONField(serialize=false)
private List<SysUserRole> sysUserRole;
	
	public List<SysUserRole> getSysUserRole() {
		return sysUserRole;
	}

	public void setSysUserRole(List<SysUserRole> sysUserRole) {
		this.sysUserRole = sysUserRole;
	}



	//带参数构造
	public Role(Integer roleId,String roleName,String roleDesc,java.sql.Timestamp createTime,java.sql.Timestamp updateTime) {
		this.roleId=roleId;this.roleName=roleName;this.roleDesc=roleDesc;this.createTime=createTime;this.updateTime=updateTime;

	}

	
	//空参数构造
	public Role() {
	}
	
	

}
